package com.cskaoyan._02interface._05example.controller;

import com.cskaoyan._02interface._05example.dao.ProductDao;
import com.cskaoyan._02interface._05example.dao.ProductDaoImpl;
import com.cskaoyan._02interface._05example.model.Product;

/**
 * @description:
 * @author: 景天
 * @date: 2023/2/11 11:59
 **/

public class ProductControllerImpl implements ProductController {
    // 定义成员变量
    private ProductDao dao = new ProductDaoImpl();

    @Override
    public Product[] getRealProducts() {


        return dao.getRealProducts();
    }
}
